import { createApp } from "vue";

import App from "./App.vue";
import "virtual:windi.css";

import ElementPlus from "element-plus";
import "./styles/element-plus.scss";

import "./styles/common.scss";
import "./styles/main.scss";

import router from "./router";
import pinia from "./store/index";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";

const app = createApp(App);
app.use(router);
app.use(pinia);
app.use(ElementPlus);
app.config.globalProperties.$dayjs = dayjs;

app.mount("#app");
